home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip Aralık 2001.iso / prog / internet / netscape / browser.xpi / bin / chrome / net2phone.jar / content / net2phone / Net2PhoneTaskMenu.xul < prev   
Encoding:
Extensible Markup Language  |  2001-07-13  |  1.3 KB  |  41 lines

  1. <?xml version="1.0"?>
  2. <!-- <?xml-stylesheet href="chrome://net2phone/skin/Net2Phone.css" type="text/css"?> -->
  3.  
  4. <!DOCTYPE window [
  5.  
  6. <!ENTITY % regionDTD SYSTEM "chrome://net2phone-region/locale/region.dtd">
  7. %regionDTD;
  8. <!ENTITY % net2phoneDTD SYSTEM "chrome://net2phone/locale/Net2Phone.dtd">
  9. %net2phoneDTD;
  10.  
  11. ]>
  12.  
  13. <!-- This is the overlay that addes "Net2Phone" to the (global) task menu. -->
  14.  
  15. <overlay id="Net2PhoneTaskMenuID"
  16.     xmlns:html="http://www.w3.org/1999/xhtml"
  17.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  18.  
  19. <script language="JavaScript" src="chrome://net2phone/content/Net2Phone.js"/>
  20.  
  21. <keyset id="tasksKeys">
  22.   <key id="key_net2phone"  key="&Net2PhoneCmd.commandkey;"
  23.        observes="Tasks:Net2Phone" modifiers="accel"/>
  24. </keyset>
  25.  
  26. <commandset id="tasksCommands">
  27.   <data id="net2phone-menu-url">&Net2PhoneMenuURL.label;</data>
  28.     <command id="Tasks:Net2Phone" label="&Net2PhoneCmd.label;" 
  29.              oncommand="net2Phone(document.getElementById('net2phone-menu-url').firstChild.nodeValue);"/>
  30.   </commandset>
  31.  
  32. <menupopup id="taskPopup">
  33.   <menuitem class="nc" position="7"
  34.             key="key_net2phone"
  35.             accesskey="&Net2PhoneCmd.accesskey;"
  36.             observes="Tasks:Net2Phone"/>
  37. </menupopup>
  38.  
  39. </overlay>
  40.  
  41.